package com.qqtech.qquan.user.model;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserBank extends BaseDomain{
	/**
	 * 支行名称
	 */
	private String subbranch;
	//columns START
    /** 用户ID */
	private java.lang.Integer userId;

	/** 银行类型:1-支付宝;2-银行卡; */
	private java.lang.Integer type;


	/** 银行卡号或支付宝账户 */
	private java.lang.String accountNo;
    /** 开户人姓名 */
	private java.lang.String userReal;
    /** 用户开户行名称，例如：招商银行深圳梅林支行 */
	private java.lang.String bankName;
    //columns END
	public UserBank(){
	}
    public UserBank( java.lang.Integer id ){
		this.id = id;
	}
	public java.lang.String getAccountNo() {
		return this.accountNo;
	}

	public java.lang.String getBankName() {
		return this.bankName;
	}

	public String getSubbranch() {
		return subbranch;
	}

	public java.lang.Integer getType() {
		return this.type;
	}
	
	public java.lang.Integer getUserId() {
		return this.userId;
	}

	public java.lang.String getUserReal() {
		return this.userReal;
	}
	
	public void setAccountNo(java.lang.String accountNo) {
		this.accountNo = accountNo;
	}

	public void setBankName(java.lang.String bankName) {
		this.bankName = bankName;
	}
	
	public void setSubbranch(String subbranch) {
		this.subbranch = subbranch;
	}

	public void setType(java.lang.Integer type) {
		this.type = type;
	}
	
	public void setUserId(java.lang.Integer userId) {
		this.userId = userId;
	}

	public void setUserReal(java.lang.String userReal) {
		this.userReal = userReal;
	}
	

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

